/**
 * Created by sicongdu on 17-11-3.
 */
var mongoose = require('mongoose');
const express = require('express');
const request = require('request');

var final = express.Router();

var error = {
  error_no: 2,
  error_msg: '内部错误，请联系杜思聪～'
};

final.use('/', function(req, res, next) {
  res.sendFile(__dirname + '/online_editor.html', {}, function(err, html) {
    if (err) {
      console.log('error');
    } else {
      console.log('success');
    }
  });
});

module.exports = final;
